const createRequest = require('./createRequest');
const token = '';
const port = 3033;
const type = 'http';
const host = 'localhost'
Promise.resolve("开始测试")
  .then(mes => {
    console.log(mes);
    return Promise.all([
      createRequest({//获取用户信息
        token: token,
        port: port,
        host: host,
        type: type,
        path: '/login/login',
        data: {
          username: 'zzz'
        }
      })
    ])
  })
  .then(mes => {//
    console.log(mes);
  })